#ifndef GUIDEMOWIIMOTE_H
#define GUIDEMOWIIMOTE_H

#include <QThread>
#include <WiiCIS.h>

#include "GUIDemoWindow.h"

class GUIDemoMainLoop : public QThread {
    Q_OBJECT
public:
    GUIDemoMainLoop(WiiCIS::Wiimote * WM);


public slots:
signals:
    void setButtons(WiiCIS::ButtonState buttons);

private:
    void run();
    WiiCIS::Wiimote * wm;
    bool useWM;

    GUIDemoMainLoop();
};

#endif // GUIDEMOWIIMOTE_H
